﻿using MaterialDesignThemes.Wpf;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Minotaur.App.Domains.Dto
{
    public class MenuInfoDto
    { /// <summary>
      /// 编码
      /// </summary> 
        public virtual string? Code { get; set; }

        /// <summary>
        /// 站点地址
        /// </summary> 
        public virtual string? Address { get; set; }

        /// <summary>
        /// 图标
        /// </summary> 
        public virtual PackIconKind IconKind { get; set; }
        public virtual string? Icon { get; set; }

        /// <summary>
        /// 父级编码
        /// </summary>
        public virtual string? ParentCode { get; set; }

        /// <summary>
        /// 状态
        /// </summary>

        public virtual bool? Status { get; set; }

        /// <summary>
        /// 排序
        /// </summary>
        /// 
        public virtual long? Sequence { get; set; }

        /// <summary>
        /// 菜单名称
        /// </summary>
        public virtual string? Name { get; set; }
        public List<MenuInfoDto> Childs { get; set; } = new List<MenuInfoDto>();

        /// <summary>
        /// 模块编码
        /// </summary>
        public virtual string? ModuleCode { get; set; }
    }
}
